package database;

public class DatabaseEntities {
    public static class Student {
        public String name;
        public String className;
        public int classId;
    }
    
    public static class Teacher {
        public String name;
    }
    
    public static class Parent {
        public String name;
        public String studentName;
        public String className;
        public int classId;
    }
    
    public static class Message {
        public enum Sender {
            ME, REMOTE_PEER
        }
        
        public int messageId;
        
        public Sender sender;
        
        public int remotePeerId;
        public String remotePeerRole;
        public String remotePeerFirstName;
        public String remotePeerLastName;
        
        public String text;
        public String timestamp;
    }
    
    public static class Substitution {
        public int substitutionId;
        public Integer substitutingTeacherId;   
        public int missingTeacherId;
        public int subjectId;
        public int classId;
        public int unit;
        public String dateString;
    }
    
    public static class Tutorage {
        public int tutorageId;
        public int subjectId;
        public int studentId;
        public String type;
        public String className;
        public String dateString;
        public String timeString;
    }
    
    public static class ClassesSubjects {
        public int classId;
        public int subjectId;
    }
    
    public static class Timetable {
        public int subjectId;
        public int teacherId;
        public int day;
        public int unit;
    }
    
    private DatabaseEntities() {
    }
}
